package game.scene;
import java.util.Stack;
public class SceneStack{
    private Stack _stack = new Stack();
    public SceneStack(BaseScene scene) {
      push(scene);
    }
    
    public BaseScene current(){
      if(!_stack.empty()){
        return (BaseScene)_stack.peek();
      }     
      return null;
    }
    
    public void push(BaseScene scene){
      _stack.push(scene);
    }
    
    public BaseScene pop(){
      return (BaseScene)_stack.pop();
    }
    
    public void clear(){
      
    }
    
    public boolean isEmpty(){
      return true;
    }
}